From 0b2253f5c9af73904d49da32085036c16b9d2d75 Mon Sep 17 00:00:00 2001
From: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Date: Tue, 21 Feb 2017 18:10:11 -0500
Subject: [PATCH] Fix: include config.h to resolve HAVE_DLMOPEN

Fixes commit 42330adcefcd1830dad89e2a960c93d8dd1da125

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
[Backported from upstream commit 0b2253f5c9af73904d49da32085036c16b9d2d75.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 liblttng-ust-dl/ust_dl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/liblttng-ust-dl/ust_dl.h b/liblttng-ust-dl/ust_dl.h
index afa8e84..c8a0695 100644
--- a/liblttng-ust-dl/ust_dl.h
+++ b/liblttng-ust-dl/ust_dl.h
@@ -33,6 +33,7 @@ extern "C" {
 
 #include <stdint.h>
 #include <unistd.h>
+#include <config.h>
 
 #define LTTNG_UST_DL_PROVIDER
 #include <lttng/tracepoint.h>
-- 
2.7.4

